<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>1716040613-史兵舰</title>
    <link rel="shortcut icon" href="favicon.ico" />
    <!-- 导入去除标签自带样式 -->
    <link rel="stylesheet" href="./css/base.css">
    <!-- 导入样式 -->
    <link rel="stylesheet" href="./css/register.css">
    <!-- 导入js -->
    <script src="./js/register.js"></script>
</head>
<body>
    <!-- 背景 -->
    <div class="bj">
        <!-- 内容 -->
        <div class="box">
            <div class="title">
                <h2>会员注册</h2>
                <h4><a href="index.html">小米商城</a></h4>
            </div>
            <div class="form">
                <form name="myForm" method="post" action="login" onsubmit="return on_submit()">
                    <div>
                        <span>用户名</span>：
                        <input type="text" placeholder="请输入你的用户名" id="username" onblur="usernameOnblur()">
                        <em id="yz1">请不要输入汉字</em>
                    </div>
                    <div>
                        <span>密码</span>：
                        <input type="text" placeholder="请输入你的密码" id="pwd" onblur="pwdOnblur()" >
                        <em  id="yz2">请输入6位以上的字符</em>
                    </div>
                    <div>
                        <span>确认密码</span>：
                        <input type="text" placeholder="请确认你的密码" id="regpwd" onblur="regpwdOnblur()" >
                        <em  id="yz3">两次密码要输入一致哦</em>
                    </div>
                    <div>
                        <span>手机号</span>：
                        <input type="text" placeholder="请填写正确的手机号" id="phone" onblur="phoneOnblur()">
                        <em id="yz4">两次密码要输入一致哦</em>
                    </div>
                    <div>
                        <span>验证码</span>：
                        <input type="text" placeholder="请确认验证码">
                        <img src="./images/yanzhengma.jpg" alt="">
                    </div>
                    <button>立即注册</button>
                </form>
            </div>
        </div>
    </div>


    <!-- 底部 -->
    <div class="footer">
        <div class="footer-info w">
            <ul>
                <li><a href="index.html">小米商城</a></li>
                <li>|</li>
                <li><a href="#">小米网盟</a></li>
                <li>|</li>
                <li><a href="#">小米移动</a></li>
                <li>|</li>
                <li><a href="#">隐私政策</a></li>
            </ul>
        </div>
    </div>
    <div class="footer-bd">
        <span>史兵舰 @ 版权所有 2020</span>
    </div>
</body>
</html>